package com.jixiang.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jixiang.model.common.dtos.ResponseResult;
import com.jixiang.model.user.dtos.AdminUserDtos;
import com.jixiang.model.user.dtos.AppWxUserDtos;
import com.jixiang.model.user.dtos.WxIconDtos;
import com.jixiang.model.user.entity.UsUser;

/**
 * (UsUser)表服务接口
 *
 * @author makejava
 * @since 2023-10-12 13:57:50
 */
public interface UsUserService extends IService<UsUser> {

    ResponseResult loginAdmin(AdminUserDtos adminUserDtos);

    ResponseResult getAdminList(int pageNum, int pageSize, String name,String phone);

    ResponseResult updateUserState(String id);

    ResponseResult getAdminById(String id);

    ResponseResult updateAdmin(UsUser usUser);

    ResponseResult deleteAdminById(String id);

    ResponseResult addAdmin(UsUser usUser);

    ResponseResult getUserList(int pageNum, int pageSize, String name, String phone);

    ResponseResult updateUserLevel(String id);

    ResponseResult addUser(UsUser usUser);

    ResponseResult appSendCode(String phone);

    ResponseResult appLoginByUsername(String name, String password);

    ResponseResult appLoginByPhone(String phone, String password);

    ResponseResult wxAppLoginByPhone(String phone);

    Boolean updateWxUserIconImage(WxIconDtos wxIconDtos);

    ResponseResult wxAppGetwxUserData();

    ResponseResult wxAppUpdateWxUser(AppWxUserDtos appWxUserDtos);
}

